using MediatR;
using SumerCoreDevOps.Domain.Entities;

namespace SumerCoreDevOps.Application.Users.Commands;

/// <summary>
/// 验证用户凭据命令
/// </summary>
public record ValidateCredentialsCommand(
    string Username,
    string Password,
    string? IpAddress = null
) : IRequest<User?>;
